package jsf.uss.data;

import java.util.List;

public interface IRepository<T> {

    List<T> getAll();

    T getById(Long id);

    boolean add(T entity);

    boolean update(T entity);

    boolean remove(Long id);

    boolean remove(T entity);
}
